<div>
    <div>
        <div class="panel panel-default  m-n">
            <div class="panel-heading font-bold">导出订单及商品历史明细</div>
            <div class="panel-body">
                <form name="dataForm" role="form" class="ng-pristine ng-valid">
                    <p class="text text-info">导出订单范围限定在90天之内</p>
                    <div class="inline pull-left m-r-sm m-b-sm" ng-controller="DatepickerDemoCtrl">
                        <div class="input-group w-lg">
                            <input type="text" class="form-control" name="startTime" placeholder="请输入开始日期"
                                   uib-datepicker-popup="yyyy-MM-dd"
                                   datepicker-popup="yyyy-MM-dd" ng-model="ordersAndGoodsVO.start"
                                   alt-input-formats="altInputFormats" is-open="opened" datepicker-options="dateOptions"
                                   close-text="关闭" clear-text="清空" current-text="今天" min-date="ordersAndGoodsVO.minTime"
                                   max-date="ordersAndGoodsVO.end" ng-change="changStart()" disabled required/>
                            <span class="input-group-btn " style="padding-right: 15px">
                                <button type="button" class="btn btn-default " ng-click="open($event)">
                                    <i class="glyphicon glyphicon-calendar"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                    <div class="inline pull-left m-r-sm m-b-sm" ng-controller="DatepickerDemoCtrl">
                        <div class="input-group w-lg ">
                            <input type="text" class="form-control" placeholder="请输入结束日期"
                                   uib-datepicker-popup="yyyy-MM-dd" name="endTime"
                                   datepicker-popup="yyyy-MM-dd" ng-model="ordersAndGoodsVO.end"
                                   alt-input-formats="altInputFormats" is-open="opened" datepicker-options="dateOptions"
                                   close-text="关闭" clear-text="清空" current-text="今天" min-date="ordersAndGoodsVO.start"
                                   ng-change="changEnd()" max-date="ordersAndGoodsVO.maxTime" disabled required/>
                            <span class="input-group-btn " style="padding-right: 15px">
                                <button type="button" class="btn btn-default " ng-click="open($event)">
                                    <i class="glyphicon glyphicon-calendar"></i>
                                </button>
                            </span>
                        </div>
                    </div>
                    <label class="control-label">店铺名称</label>
                    <select class="input-sm form-control m-b-sm" ng-model="ordersAndGoodsVO.shopsId">
                        <option  value="">－－请选择－－</option>
                        <option ng-repeat="s in shopSelectList" value="{{s.id}}">{{s.name}}</option>
                    </select>
                    <div class="text-right">
                        <div>
                            <button type="submit" ng-click="ok()"  ng-disabled="ordersAndGoodsVO.start == null || ordersAndGoodsVO.end == null" class="btn m-b-xs w-xs btn-info">导出</button>
                            <button class="btn m-b-xs w-xs btn-default" ng-click="cancel()">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>